package com.nuaa.ange.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @description
 * @author 玦离
 * @date 2022/12/30 20:53
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sys_message")
public class SysMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 系统消息id
     */
    private Integer sysMessageId;

    /**
     * 发布内容
     */
    private String messageContent;

    /**
     * 用户id 关联 t_user 表
     */
    private Integer userId;

    /**
     * 未读0 已读1
     */
    private Boolean state;

    /**
     * 发表时间
     */
    private LocalDateTime createTime;


}
